<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>OptionsPricing: models::AssembleStiffnesMassMatrices::AssembleStiffnesMassMatrices Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">OptionsPricing
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><b>models</b>      </li>
      <li class="navelem"><b>AssembleStiffnesMassMatrices</b>      </li>
      <li class="navelem"><a class="el" href="classmodels_1_1AssembleStiffnesMassMatrices_1_1AssembleStiffnesMassMatrices.html">AssembleStiffnesMassMatrices</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">models::AssembleStiffnesMassMatrices::AssembleStiffnesMassMatrices Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="models::AssembleStiffnesMassMatrices::AssembleStiffnesMassMatrices" -->
<p><a href="classmodels_1_1AssembleStiffnesMassMatrices_1_1AssembleStiffnesMassMatrices-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1AssembleStiffnesMassMatrices_1_1AssembleStiffnesMassMatrices.html#aa25fcbb16eec9c2af41a0e72aee8a9b3">diffuse_on_seg</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1AssembleStiffnesMassMatrices_1_1AssembleStiffnesMassMatrices.html#a063c1fe8d467e658d44d3062303f06f2">discretize</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1AssembleStiffnesMassMatrices_1_1AssembleStiffnesMassMatrices.html#aa9b896fe88236a6684578c31a6592655">get_mass_mat</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1AssembleStiffnesMassMatrices_1_1AssembleStiffnesMassMatrices.html#a1c625bd4bd686994044b0073dbc09b7b">get_pdecos</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1AssembleStiffnesMassMatrices_1_1AssembleStiffnesMassMatrices.html#a352c255d348b47fbf614414e2109c2df">get_stiffness</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1AssembleStiffnesMassMatrices_1_1AssembleStiffnesMassMatrices.html#ad9e22e567801e1b25e90c04d97a19cc6">in_prod1</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1AssembleStiffnesMassMatrices_1_1AssembleStiffnesMassMatrices.html#a602d588af02ace47e86f1da2f01eb8e1">in_prod2</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1AssembleStiffnesMassMatrices_1_1AssembleStiffnesMassMatrices.html#a99e5abc1b1aa10dd8b52f859384ce334">set_cos</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1AssembleStiffnesMassMatrices_1_1AssembleStiffnesMassMatrices.html#a327f3da1c9d0f0b176e38dc552b13841">set_new_grid</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1AssembleStiffnesMassMatrices_1_1AssembleStiffnesMassMatrices.html#ac648090923f735460094025dbb32eb0c">set_sfunc_and_quads</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><div class="fragment"><pre class="fragment">
  Assemble mass and stiffness matrices.
  The coefficients can be constant or given by splines.
  Quadrature formulas are needed for numerical integration
  ( Spline coefficients )
  NOTE:
    Assembling matrices for constant coefficient PDE's is trivial
    and can be done much more efficiently than what is done here.
    This class tries to unify the concept of 'assembling' in general.
    It encapsulate the fact that once you know the behavior at the
    element level, the rest is just a matter of gluing them together.
</pre></div> 
<p>Definition at line <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00033">33</a> of file <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html">AssembleStiffnesMassMatrices.py</a>.</p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aa25fcbb16eec9c2af41a0e72aee8a9b3"></a><!-- doxytag: member="models::AssembleStiffnesMassMatrices::AssembleStiffnesMassMatrices::diffuse_on_seg" ref="aa25fcbb16eec9c2af41a0e72aee8a9b3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::AssembleStiffnesMassMatrices::AssembleStiffnesMassMatrices::diffuse_on_seg </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>i</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>delta_x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>seg</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">diffusion term on grid </pre></div> 
<p>Definition at line <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00131">131</a> of file <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html">AssembleStiffnesMassMatrices.py</a>.</p>

<p>References <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00105">_reaccion_on_seg()</a>, <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00303">in_prod1()</a>, <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00085">m_d</a>, <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00341">m_der_at_quad</a>, <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00074">m_diff</a>, <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00146">m_mass_diag</a>, <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00182">m_reac_diag</a>, and <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00053">m_zero</a>.</p>

<p>Referenced by <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00221">discretize()</a>.</p>

</div>
</div>
<a class="anchor" id="a063c1fe8d467e658d44d3062303f06f2"></a><!-- doxytag: member="models::AssembleStiffnesMassMatrices::AssembleStiffnesMassMatrices::discretize" ref="a063c1fe8d467e658d44d3062303f06f2" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::AssembleStiffnesMassMatrices::AssembleStiffnesMassMatrices::discretize </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">
      assemble the stiffness matrix:
d*u_xx + c*u_x + r*u

d ~ diffusion
c ~ convection
r ~ reaction
    </pre></div> 
<p>Definition at line <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00221">221</a> of file <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html">AssembleStiffnesMassMatrices.py</a>.</p>

<p>References <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00116">_conv_on_seg()</a>, <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00182">_react_matrix()</a>, <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00131">diffuse_on_seg()</a>, <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00085">m_r</a>, <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00182">m_reac_diag</a>, and <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00228">m_stiff_diag</a>.</p>

<p>Referenced by <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00319">models::Poisson2DFiniteDifference::Poisson2DFiniteDifference::solve()</a>.</p>

</div>
</div>
<a class="anchor" id="aa9b896fe88236a6684578c31a6592655"></a><!-- doxytag: member="models::AssembleStiffnesMassMatrices::AssembleStiffnesMassMatrices::get_mass_mat" ref="aa9b896fe88236a6684578c31a6592655" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::AssembleStiffnesMassMatrices::AssembleStiffnesMassMatrices::get_mass_mat </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">get mass matrix. </pre></div> 
<p>Definition at line <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00291">291</a> of file <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html">AssembleStiffnesMassMatrices.py</a>.</p>

<p>References <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00143">__mass_matrix()</a>, and <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00146">m_mass_diag</a>.</p>

</div>
</div>
<a class="anchor" id="a1c625bd4bd686994044b0073dbc09b7b"></a><!-- doxytag: member="models::AssembleStiffnesMassMatrices::AssembleStiffnesMassMatrices::get_pdecos" ref="a1c625bd4bd686994044b0073dbc09b7b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::AssembleStiffnesMassMatrices::AssembleStiffnesMassMatrices::get_pdecos </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">Coeffients used to assemble the Matrices. </pre></div> 
<p>Definition at line <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00286">286</a> of file <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html">AssembleStiffnesMassMatrices.py</a>.</p>

<p>References <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00085">m_c</a>, <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00085">m_d</a>, and <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00085">m_r</a>.</p>

</div>
</div>
<a class="anchor" id="a352c255d348b47fbf614414e2109c2df"></a><!-- doxytag: member="models::AssembleStiffnesMassMatrices::AssembleStiffnesMassMatrices::get_stiffness" ref="a352c255d348b47fbf614414e2109c2df" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::AssembleStiffnesMassMatrices::AssembleStiffnesMassMatrices::get_stiffness </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">get stiffness matrix. </pre></div> 
<p>Definition at line <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00298">298</a> of file <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html">AssembleStiffnesMassMatrices.py</a>.</p>

<p>References <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00228">m_stiff_diag</a>.</p>

</div>
</div>
<a class="anchor" id="ad9e22e567801e1b25e90c04d97a19cc6"></a><!-- doxytag: member="models::AssembleStiffnesMassMatrices::AssembleStiffnesMassMatrices::in_prod1" ref="ad9e22e567801e1b25e90c04d97a19cc6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::AssembleStiffnesMassMatrices::AssembleStiffnesMassMatrices::in_prod1 </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>seg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>i</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>spl</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>shape_at_quads</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">inner product on splines. </pre></div> 
<p>Definition at line <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00303">303</a> of file <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html">AssembleStiffnesMassMatrices.py</a>.</p>

<p>Referenced by <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00131">diffuse_on_seg()</a>, and <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00085">set_cos()</a>.</p>

</div>
</div>
<a class="anchor" id="a602d588af02ace47e86f1da2f01eb8e1"></a><!-- doxytag: member="models::AssembleStiffnesMassMatrices::AssembleStiffnesMassMatrices::in_prod2" ref="a602d588af02ace47e86f1da2f01eb8e1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::AssembleStiffnesMassMatrices::AssembleStiffnesMassMatrices::in_prod2 </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>seg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>i</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>spl</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>shape_at_quads1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>shape_at_quads2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">inner product on splines. </pre></div> 
<p>Definition at line <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00322">322</a> of file <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html">AssembleStiffnesMassMatrices.py</a>.</p>

<p>References <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00341">m_der_at_quad</a>, and <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00341">m_shape_at_quad</a>.</p>

<p>Referenced by <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00085">set_cos()</a>.</p>

</div>
</div>
<a class="anchor" id="a99e5abc1b1aa10dd8b52f859384ce334"></a><!-- doxytag: member="models::AssembleStiffnesMassMatrices::AssembleStiffnesMassMatrices::set_cos" ref="a99e5abc1b1aa10dd8b52f859384ce334" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::AssembleStiffnesMassMatrices::AssembleStiffnesMassMatrices::set_cos </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>diff</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>conv</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>reac</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>d_is_real</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>c_is_real</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>r_is_real</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">set pde coefficients </pre></div> 
<p>Definition at line <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00085">85</a> of file <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html">AssembleStiffnesMassMatrices.py</a>.</p>

<p>References <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00303">in_prod1()</a>, <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00322">in_prod2()</a>, <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00085">m_c</a>, <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00074">m_conv</a>, <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00085">m_d</a>, <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00341">m_der_at_quad</a>, <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00085">m_r</a>, <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00074">m_reac</a>, <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00341">m_shape_at_quad</a>, and <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00053">m_zero</a>.</p>

</div>
</div>
<a class="anchor" id="a327f3da1c9d0f0b176e38dc552b13841"></a><!-- doxytag: member="models::AssembleStiffnesMassMatrices::AssembleStiffnesMassMatrices::set_new_grid" ref="a327f3da1c9d0f0b176e38dc552b13841" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::AssembleStiffnesMassMatrices::AssembleStiffnesMassMatrices::set_new_grid </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>grid</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">set new grid </pre></div> 
<p>Definition at line <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00069">69</a> of file <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html">AssembleStiffnesMassMatrices.py</a>.</p>

<p>References <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00053">m_grid</a>.</p>

</div>
</div>
<a class="anchor" id="ac648090923f735460094025dbb32eb0c"></a><!-- doxytag: member="models::AssembleStiffnesMassMatrices::AssembleStiffnesMassMatrices::set_sfunc_and_quads" ref="ac648090923f735460094025dbb32eb0c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::AssembleStiffnesMassMatrices::AssembleStiffnesMassMatrices::set_sfunc_and_quads </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>basis</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>quads</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">set shape functions and quadrature points </pre></div> 
<p>Definition at line <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00074">74</a> of file <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html">AssembleStiffnesMassMatrices.py</a>.</p>

<p>References <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00341">_shape_at_quad_pts()</a>, <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00074">m_conv</a>, <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00074">m_diff</a>, <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00074">m_reac</a>, and <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00053">m_zero</a>.</p>

<p>Referenced by <a class="el" href="NumericalOptionGBM_8py_source.html#l00058">models::NumericalOptionGBM::NumericalOptionGBM::set_contract_type()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="AssembleStiffnesMassMatrices_8py_source.html">AssembleStiffnesMassMatrices.py</a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Thu Dec 22 2011 05:17:54 for OptionsPricing by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
